import type {
  CalculationIndicatorRecalculationSelectCalculationIndicatorPageParams as A,
  CalculationIndicatorRecalculationBatchIndicatorRecalculationParams as B,
} from '@/types'
import { PAGING } from '@/constant'

export const defaultFormData: Omit<
  B,
  'indicatorName' | 'indicatorNumber'
> = {
  key: '',
  startTime: '',
  endTime: '',
}

export const formRules
  = generateCurrencyFormRules(defaultFormData)

export const defaultPagingParams: A = {
  ...PAGING.PARAMS,
  key: '1H',
  name: '',
  pointId: 0,
}
